#ifndef RBS__CONSTANTS_H
#define RBS__CONSTANTS_H

#include "compat.h"

SUPPRESS_RUBY_HEADER_DIAGNOSTICS_BEGIN
#include "ruby.h"
SUPPRESS_RUBY_HEADER_DIAGNOSTICS_END

extern VALUE RBS;

extern VALUE RBS_AST;
extern VALUE RBS_AST_Declarations;
extern VALUE RBS_AST_Directives;
extern VALUE RBS_AST_Members;
extern VALUE RBS_AST_Ruby;
extern VALUE RBS_AST_Ruby_Annotations;
extern VALUE RBS_Types;
extern VALUE RBS_Types_Bases;
extern VALUE RBS_ParsingError;

<%- nodes.filter(&:expose_to_ruby?).each do |node| -%>
extern VALUE <%= node.c_constant_name %>;
<%- end -%>

void rbs__init_constants();

#endif
